package cn.xiaoyu.snake;

import android.content.Context;

import java.util.HashMap;

/**
 * Created by fengzhe on 2017/7/17.
 */

public class Snake {

    public static Configuration init(Context context) {
        getConfigurator().put(ConfigType.APPLICATION_CONTEXT.name(), context);
        return Configuration.getInstance();
    }

    public static HashMap<String, Object> getConfigurator() {
        return Configuration.getInstance().getConfigurations();
    }
}
